package com.hr.service;

import com.hr.entity.Employee;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName EmployeeService
 * @Description TODO
 * @Author hkp
 **/

@Service
public interface EmployeeService {
    //增加员工
    int addEmp(Employee employee);
    //删除员工
    int delEmp(int id);
    //更新员工信息
    int updateEmp(Employee employee);
    //查找全体员工
    List<Employee> queryAllEmp();
    //按照id查找员工
    Employee queryEmp(int id);
}
